package cn.dev33.satoken.oauth2;

import com.csap.framework.annotation.apidoc.ApiModel;
import com.csap.framework.annotation.apidoc.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 账号密码登录参数
 *
 * @Author ycf
 * @Date 2021/8/18 11:24 上午
 * @Version 1.0
 */
@ApiModel("账号密码登录参数")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class PasswordLogin {
    @ApiModelProperty(value = "用户名")
    private String userName;
    @ApiModelProperty(value = "密码")
    private String password;
    @ApiModelProperty(value = "登录的类型")
    private String deviceType;
    @ApiModelProperty(value = "作用域")
    private String scope;
    @ApiModelProperty(value = "短信验证码")
    private String smsCode;
    @ApiModelProperty(value = "客户端ID")
    private String clientId;
    @ApiModelProperty(value = "客户端秘钥")
    private String clientSecret;
    @ApiModelProperty(value = "登录的类型")
    private String loginType;
    @ApiModelProperty("平台标识")
    private String platform;
}
